package com.jiankang.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jiankang.dao.HealthknowledgeDao;
import com.jiankang.entity.Healthknowledge;
import com.jiankang.service.HealthknowledgeService;
import com.jiankang.util.Page;
@Service("healthknowledgeService")
public class HealthknowledgeServiceImpl implements HealthknowledgeService {
	@Resource
	private HealthknowledgeDao healthknowledgeDao;
	@Override
	public List<Healthknowledge> showhealthknowledge() {
		// TODO Auto-generated method stub
		return healthknowledgeDao.showhealthknowledge();
	}
	@Override
	public Healthknowledge commonsensedetails(int id) {
		// TODO Auto-generated method stub
		return healthknowledgeDao.commonsensedetails(id);
	}
	@Override
	public long getAllProductCount() {
		// TODO Auto-generated method stub
		return healthknowledgeDao.getAllProductCount();
	}
	@Override
	public List<Healthknowledge> getHealthFile(Page page) {
		// TODO Auto-generated method stub
		return healthknowledgeDao.getHealthFile(page);
	}

}
